runtime.p.mspancache (field)
20 uses
runtime (current package)
mheap.go#L1141: if pp == nil || pp.mspancache.len == 0 {
mheap.go#L1145: s := pp.mspancache.buf[pp.mspancache.len-1]
mheap.go#L1146: pp.mspancache.len--
mheap.go#L1169: if pp.mspancache.len == 0 {
mheap.go#L1170: const refillCount = len(pp.mspancache.buf) / 2
mheap.go#L1172: pp.mspancache.buf[i] = (*mspan)(h.spanalloc.alloc())
mheap.go#L1174: pp.mspancache.len = refillCount
mheap.go#L1177: s := pp.mspancache.buf[pp.mspancache.len-1]
mheap.go#L1178: pp.mspancache.len--
mheap.go#L1197: if pp != nil && pp.mspancache.len < len(pp.mspancache.buf) {
mheap.go#L1198: pp.mspancache.buf[pp.mspancache.len] = s
mheap.go#L1199: pp.mspancache.len++
proc.go#L5982: for i := 0; i < pp.mspancache.len; i++ {
proc.go#L5984: mheap_.spanalloc.free(unsafe.Pointer(pp.mspancache.buf[i]))
proc.go#L5986: pp.mspancache.len = 0
runtime2.go#L827: mspancache struct {
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |